import { append } from '../utils';

export default class Person {
  constructor(name) {
    this.name = name;
  }

  say() {
    append(`Hi, my name is ${this.name}`);
  }

  static create(name) {
    return new Person(name);
  }
}
